﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Master/Default.master" AutoEventWireup="false" CodeBehind="FavoriteProduct.aspx.cs" Inherits="Runda.EShop.Web.Customer.FavoriteProduct" %>
<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<asp:Content ID="Content1" ContentPlaceHolderID="cphHeader" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="cphLeft" runat="server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="cphMain" runat="server">
    <div class="i_tablebt_xian" style="margin: 10px 0px 0px 0px; width: 100%;">
        <span class="l"><img src="<%=ResolveUrl("~/images/ico/down_16x16.gif")%>" align="absmiddle" />常用试剂列表</span>
    </div>
        <div class="clear"></div>
   <asp:GridView ID="gvProductList" runat="server" AutoGenerateColumns="False" DataKeyNames="ID">
        <Columns>
            <asp:TemplateField HeaderText="操作" Visible="false">
                <ItemTemplate>
                    <asp:Button ID="btnOrder" runat="server" Text="添加到购物车" Width="100px" CommandName="addto" CommandArgument='<%# Eval("ProductID") %>'/>
                </ItemTemplate>
                <ItemStyle Width="100px" />
            </asp:TemplateField>
            <asp:TemplateField HeaderText="产品编号">
                <ItemTemplate> <asp:HyperLink ID="lnkView" runat="server" NavigateUrl='<%# "ProductDetailWithMenu.aspx?ProductID="+Eval("ProductID") %>'><%# Eval("ProductCode") %></asp:HyperLink>
                </ItemTemplate>
                <ItemStyle Width="80px" />
            </asp:TemplateField>
            <asp:BoundField DataField="ProductName" HeaderText="产品名称" ItemStyle-Width="270px" />
            <asp:BoundField DataField="Standard" HeaderText="规格"  ItemStyle-Width="150px" />
            <asp:TemplateField HeaderText="操作">
                <ItemTemplate>
                    <asp:ImageButton ID="btnDelete" runat="server" CommandName="delete" ImageUrl="~/Images/ico/del15x15.jpg" ClientIDMode="Static"/>
                    <%--<asp:Button ID="btnDelete" runat="server" Text="删除" CommandName="delete"/>--%>
                </ItemTemplate>
                <ItemStyle Width="40px" />
            </asp:TemplateField>
        </Columns>
    </asp:GridView>
        <webdiyer:AspNetPager ID="AspNetPager1" runat="server" CssClass="paginator" CurrentPageButtonClass="cpb" 
        CustomInfoHTML="第%CurrentPageIndex%页，共%PageCount%页，每页%PageSize%条" 
        ShowCustomInfoSection="Left" CustomInfoSectionWidth="180px" PageSize="10"
        NumericButtonCount="10" onpagechanged="AspNetPager1_PageChanged"></webdiyer:AspNetPager>
</asp:Content>
